package com.woody.aggregate.saas.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * code查询入参对象
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CodeQueryDTO implements Serializable {
    private static final long serialVersionUID = -2019678358200082558L;

    @ApiModelProperty(value = "code")
    @NotNull(message = "code不能为空")
    private String code;

}
